package cn.mysdp.biz.repository;

import cn.mysdp.biz.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: SdpWorkspaceMapper
 * @Description:
 * @Author: SDP
 * @Date: 2021-10-30
 * @Version: 1.0
 * Table: sdp_workspace
 * Comment:
 * workspace
 */
public interface SdpWorkspaceMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByName(String name);

    int deleteByExample(SdpWorkspaceExample example);

    int insert(SdpWorkspaceWithBLOBs record);

    int insertSelective(SdpWorkspaceWithBLOBs record);

    List<SdpWorkspaceWithBLOBs> selectByExampleWithBLOBs(SdpWorkspaceExample example);

    List<SdpWorkspace> selectByExample(SdpWorkspaceExample example);

    int countByExample(SdpWorkspaceExample example);

    SdpWorkspace selectByPrimaryKey(Integer id);

    SdpWorkspaceWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    SdpWorkspace selectById(Integer id);

    SdpWorkspaceWithBLOBs selectByIdWithBLOBs(Integer id);

    SdpWorkspace selectByName(String name);

    SdpWorkspaceWithBLOBs selectByNameWithBLOBs(String name);

    int updateByExampleSelective(@Param("record") SdpWorkspaceWithBLOBs record, @Param("example") SdpWorkspaceExample example);

    int updateByPrimaryKeySelective(SdpWorkspaceWithBLOBs record);

    int updateByIdSelective(SdpWorkspaceWithBLOBs record);

    int updateByNameSelective(SdpWorkspaceWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(SdpWorkspaceWithBLOBs record);

    int updateByPrimaryKey(SdpWorkspace record);

    int updateById(SdpWorkspace record);

    int updateByIdWithBLOBs(SdpWorkspaceWithBLOBs record);

    List<SdpWorkspaceForGetColumnList> getColumnListByExample(SdpWorkspaceForGetColumnListExample example);

    int countGetColumnListByExample(SdpWorkspaceForGetColumnListExample example);

    List<SdpWorkspaceForGetTableList> getTableListByExample(SdpWorkspaceForGetTableListExample example);

    int countGetTableListByExample(SdpWorkspaceForGetTableListExample example);

    List<SdpWorkspaceForGetDbConfig> getDbConfigByExample(SdpWorkspaceForGetDbConfigExample example);

    int countGetDbConfigByExample(SdpWorkspaceForGetDbConfigExample example);

}
